package com.snow.auth.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "snow.auth")
public class AuthConfig {

    /**
     * token过期时间(秒)
     */
    private Integer authExpireSeconds = 60 * 60;
    /**
     * 鉴权Token标识
     */
    private String authHeaderFlag = "Authorization";
    /**
     * 发布Token密钥
     */
    private String tokenKey = "678D05B4A68B44DEAC04CD17B2B7C3F0";

}
